package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_ActualCostDetails", catalog="Id")
public class TccActualCostDetails extends BaseEntity<TccActualCostDetails> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="CreationMethod", nameJava="creationMethod", typeDataBase="tinyint")
	private Integer creationMethod;
	@YsField(nameDataBase="DeclarationState", nameJava="declarationState", typeDataBase="tinyint")
	private Integer declarationState;
	@YsField(nameDataBase="DeliverState", nameJava="deliverState", typeDataBase="tinyint")
	private Integer deliverState;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="VgsJc", nameJava="vgsJc", typeDataBase="varchar")
	private String vgsJc;
	@YsField(nameDataBase="ShopId", nameJava="shopId", typeDataBase="bigint")
	private Long shopId;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="AuditingUser", nameJava="auditingUser", typeDataBase="varchar")
	private String auditingUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="AuditingTime", nameJava="auditingTime", typeDataBase="datetime")
	private Date auditingTime;
	@YsField(nameDataBase="InboundPlanId", nameJava="inboundPlanId", typeDataBase="varchar")
	private String inboundPlanId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccActualCostDetails setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccActualCostDetails setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public TccActualCostDetails setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TccActualCostDetails setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Integer getCreationMethod() {
		return creationMethod;
	}
	public TccActualCostDetails setCreationMethod(Integer creationMethod) {
		this.creationMethod = creationMethod;
		return this;
	}
	public Integer getDeclarationState() {
		return declarationState;
	}
	public TccActualCostDetails setDeclarationState(Integer declarationState) {
		this.declarationState = declarationState;
		return this;
	}
	public Integer getDeliverState() {
		return deliverState;
	}
	public TccActualCostDetails setDeliverState(Integer deliverState) {
		this.deliverState = deliverState;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccActualCostDetails setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TccActualCostDetails setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVgsJc() {
		return vgsJc;
	}
	public TccActualCostDetails setVgsJc(String vgsJc) {
		this.vgsJc = vgsJc;
		return this;
	}
	public Long getShopId() {
		return shopId;
	}
	public TccActualCostDetails setShopId(Long shopId) {
		this.shopId = shopId;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TccActualCostDetails setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public String getAuditingUser() {
		return auditingUser;
	}
	public TccActualCostDetails setAuditingUser(String auditingUser) {
		this.auditingUser = auditingUser;
		return this;
	}
	public Date getAuditingTime() {
		return auditingTime;
	}
	public TccActualCostDetails setAuditingTime(Date auditingTime) {
		this.auditingTime = auditingTime;
		return this;
	}
	public String getInboundPlanId() {
		return inboundPlanId;
	}
	public TccActualCostDetails setInboundPlanId(String inboundPlanId) {
		this.inboundPlanId = inboundPlanId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccActualCostDetails setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccActualCostDetails setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccActualCostDetails setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccActualCostDetails tccActualCostDetails(
		String bid,
		Long createChangeId,
		Integer effectStock,
		Integer creationMethod,
		Integer declarationState,
		Integer deliverState,
		String remark,
		String vgsbm,
		String vgsJc,
		Long shopId,
		String shopName,
		String auditingUser,
		Date auditingTime,
		String inboundPlanId,
		Integer status
			) {
		TccActualCostDetails entity = new TccActualCostDetails();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setCreationMethod(creationMethod);
		entity.setDeclarationState(declarationState);
		entity.setDeliverState(deliverState);
		entity.setRemark(remark);
		entity.setVgsbm(vgsbm);
		entity.setVgsJc(vgsJc);
		entity.setShopId(shopId);
		entity.setShopName(shopName);
		entity.setAuditingUser(auditingUser);
		entity.setAuditingTime(auditingTime);
		entity.setInboundPlanId(inboundPlanId);
		entity.setStatus(status);
		return entity;
	}
}